Class RemoteAuthConfig

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.netscape.cms.servlet.base.CMSServlet
com.netscape.cms.servlet.cert.RemoteAuthConfig
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class RemoteAuthConfig extends CMSServlet
Allow agent to turn on/off authentication managers
Version:
$Revision$, $Date$
See Also:
  • Constructor Details

    • RemoteAuthConfig

      public RemoteAuthConfig()
      Constructs RemoteAuthConfig servlet.
  • Method Details

    • init

      public void init(jakarta.servlet.ServletConfig sc) throws jakarta.servlet.ServletException
      Initializes the servlet. Presence of "auths.enableRemoteConfiguration=true" in CMS.cfg enables remote configuration for authentication plugins. List of remotely set instances can be found in CMS.cfg at "auths.remotelySetInstances=,,...,"
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class CMSServlet
      Throws:
      jakarta.servlet.ServletException
    • process

      public void process(CMSRequest cmsReq) throws EBaseException
      Serves HTTPS request. The format of this request is as follows:
      
       https://host:ee-port/remoteAuthConfig?
       op="add"|"delete"&
       instance=<instanceName>&
       of=<authPluginName>&
       host=<hostName>&
       port=<portNumber>&
       password=<password>&
       [adminDN=<adminDN>]&
       [uid=<uid>]&
       [baseDN=<baseDN>]
       
      Overrides:
      process in class CMSServlet
      Throws:
      EBaseException - if the servlet was unable to satisfactorily process the request